package com.by;




import com.by.bean.StockBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "by-product")
public interface SpuRemoteClient {
   /**
    * 更新库存
    * @param beanList
    * @return
    */
   @PutMapping("/feign/stock")
   ResultBean updateStock(@RequestBody List<StockBean> beanList);
}